package cn.tedu.store.commons.pojo.product.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 属性修改DTO类
 *
 * @author RelentlessFlow
 * @version 0.0.1
 */
@Data
public class AttributeUpdateDTO implements Serializable {

    @ApiModelProperty(value = "模板Id", example = "2")
    private Long templateId;
    @ApiModelProperty(value = "属性名称", example = "销售")
    private String name;
    @ApiModelProperty(value = "属性简介", example = "销售属性的简介")
    private String description;
    @ApiModelProperty(value = "属性类型", example = "1")
    private Integer type;
    @ApiModelProperty(value = "输入类型", example = "2")
    private Integer inputType;
    @ApiModelProperty(value = "备选值列表", example = "无")
    private String valueList;
    @ApiModelProperty(value = "计量单位", example = "")
    private String unit;
    @ApiModelProperty(value = "自定义排序序号", example = "99")
    private Integer sort;
    @ApiModelProperty(value = "是否允许自定义", example = "1")
    private Integer isAllowCustomize;
}

